package com.zj.mes.common.entity;

import org.springframework.stereotype.Component;

/**
 * @ClassName ResultModel
 * @Description 前台数据库操作返回
 * @Author 王晓楠
 * @Date 2019/4/28 8:57
 * @Version 1.0
 **/
@Component
public class ResultModel {
    private Integer resultStatus;   //状态码0成功，1失败
    private String message;         //返回提示信息
    private Object object;          //返回数据
    private int count;              //返回数据总数
    public Integer getResultStatus() {
        return resultStatus;
    }

    public void setResultStatus(Integer resultStatus) {
        this.resultStatus = resultStatus;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
